package com.tc.dispatch.web.util.comparator;

import java.util.Comparator;
import java.util.Map;

public class SimNumCompatator implements Comparator {

	public int compare(Object arg0, Object arg1) {
		Map.Entry a=(Map.Entry)arg0;
		Map.Entry b=(Map.Entry)arg1;
		
		
		if(Integer.parseInt(a.getValue().toString())>Integer.parseInt(a.getValue().toString()))
			return 1;
		else
			return 0;
	}

}
